package com.lg.serivce;

import com.lg.model.AngelUser;
import com.lg.model.exception.BusinessException;
import com.lg.model.exception.OtherException;


public interface AngelUserService extends GenericService<AngelUser> {
	
	/**
	 * 检查用户名是否存在
	 */
	public boolean findUserIsExist(String regid)throws BusinessException,OtherException;
	
	/**
	 * 添加用户信息
	 */
	public boolean addUserinfo(AngelUser user) throws BusinessException,OtherException;
	/**
	 * 通过用户名
	 */
	public AngelUser findUserByRegid(String regid) throws BusinessException,OtherException;
	
	/**
	 * 登录查询用户
	 */
	public AngelUser findUserInLogin(String regid,String pwd) throws BusinessException,OtherException;

}
